View Javadoc
1   package edu.jiangxin.apktoolbox.file.duplicate;
2   
3   import javax.swing.table.DefaultTableModel;
4   import java.util.Vector;
5   
6   public class DuplicateFilesTableModel extends DefaultTableModel {
7       public DuplicateFilesTableModel(Vector data, Vector columnNames) {
8           super(data, columnNames);
9       }
10  
11      @Override
12      public boolean isCellEditable(int row, int column) {
13          if (column == DuplicateFilesConstants.COLUMN_NAMES.indexOf(DuplicateFilesConstants.COLUMN_NAME_GROUP_NO)) {
14              return false;
15          }
16          return super.isCellEditable(row, column);
17      }
18  }